BFE\SavePost B

Total Complexity 78
Dependencies 2
Dependents 0
Total lines 514
Lines of code 347
Logical lines of code 182
Comment lines 114
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
update_or_add_post()
B
36 19 79
fe_sanitize_image()
A
52 9 25
upload_image()
A
45 7 42
is_image_upload_needed()
A
52 8 24
upload_file()
S
51 5 27
gutenberg_save_post()
S
61 5 12
bfe_uploading_image()
S
58 4 15
after_post_add_redirect()
S
58 4 15
after_post_update_redirect()
S
58 4 15
add_post_thumbnail()
S
62 3 11
init()
S
49 1 37
upload_image_rest_api()
S
60 2 13
update_post()
S
71 2 6
insert_post()
S
69 2 7
update_attachment_parent()
S
65 2 9
new_endpoints()
S
64 1 10